package com.example.homework.homework02;

public class Manage extends People {

    public Manage(String id, String name, double salary) {
        super(id, name, salary);
    }

    @Override
    public void work() {
        System.out.println("工号为：" + getId() + "姓名为：" + getName() + "工资为：" + getSalary() + "的经理正在管理其他人");
    }

    public void eatFish() {
        System.out.println("厨师正在吃鱼");
    }
}
